<link rel="stylesheet" href="__PUBLIC__/Home/style/home.css" type="text/css">
<link rel="stylesheet" href="__PUBLIC__/Home/style/order.css" type="text/css">
<script type="text/javascript" src="__PUBLIC__/Home/js/home.js"></script>
<include file="Common/nav"/>
<!-- 页面主体 start -->
<div class="main w1210 bc mt10">
<div class="crumb w1210">
    <h2><strong>我的XX </strong><span>> 我的订单</span></h2>
</div>
<include file="My/menu"/>
<!-- 右侧内容区域 start -->
<div class="content fl ml10">
    <div class="order_hd">
        <h3>我的订单</h3>
        <dl>
            <dt>便利提醒：</dt>
            <dd>待付款（{$data.noPayCount}）</dd>
        </dl>

        <dl>
            <dt>特色服务：</dt>
            <dd><a href="">我的预约</a></dd>
            <dd><a href="">夺宝箱</a></dd>
        </dl>
    </div>

    <div class="order_bd mt10">
        <table class="orders">
            <thead>
            <tr>
                <th width="10%">订单号</th>
                <th width="20%">订单商品</th>
                <th width="10%">收货人</th>
                <th width="20%">订单金额</th>
                <th width="20%">下单时间</th>
                <th width="10%">订单状态</th>
                <th width="10%">操作</th>
            </tr>
            </thead>
            <tbody>
            <?php foreach($data['data'] as $k=>$v):?>
            <tr>
                <td>{$v.id}</td>
                <td><a href=""><?php $_arr =explode(',',$v['logo']);foreach($_arr as $k1=>$v1) echo showImage($v1);?></a></td>
                <td>{$v.shr_name}</td>
                <td>￥{$v.total_price}</td>
                <td><?php echo date('Y-m-d H:i:s',$v['addtime']); ?></td>
                <td>
                    <?php if($v['pay_status']=='是'):?>
                    已支付
                    <?php else:?>
                    <?php echo makeAlipayBtn($v['id']);?>
                    <?php endif?>
                </td>
                <td><a href="">查看</a> | <a href="">删除</a></td>
            </tr>
            <?php endforeach;?>
            </tbody>
        </table>
    </div>
</div>
<!-- 右侧内容区域 end -->
</div>
<!-- 页面主体 end-->
<include file="Common/help"/>
